import React from 'react'
import { Modal } from 'antd'

export default (props) => {
  const { children, ...prop } = props
  return (
    <Modal
      centered
      maskClosable={false}
      width={800}
      {...prop}
    >
      {children}
    </Modal>
  )
}
